package com.Logistics.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;
import java.util.Date;

@Data
@ToString
public class DriverJobDto extends PageDto implements Serializable {
    private static final long serialVersionUID = 5908465234324578490L;
    /**
     * ID
     */
    private String id;

    /**
     * 起始机构ID
     */
    private String start_agency_id;

    /**
     * 终点机构ID
     */
    private String end_agency_id;

    /**
     * 作业状态
     */
    private Integer status;

    /**
     * 驾驶员ID
     */
    private String driver_id;

    /**
     * 司机名称
     */
    private String driver_name;

    /**
     * 任务运输ID
     */
    private String task_transport_id;

    /**
     * 起始交接人
     */
    private String start_handover;

    /**
     * 完成交接人
     */
    private String finish_handover;

    /**
     * 计划出发时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date plan_departure_time;

    /**
     * 实际出发时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date actual_departure_time;

    /**
     * 计划到达时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date plan_arrival_time;

    /**
     * 实际到达时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date actual_arrival_time;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date create_time;
}
